package sale.wxb.loveshopping.entity.vo.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Positive;

/**
 * 分页列表参数
 */
@Getter
@Setter
public class PageListParam {
    @ApiModelProperty("页码 默认 1")
    @Positive
    private int page = 1;
    @ApiModelProperty("每页大小 默认 10")
    @Positive
    private int size = 10;
    @ApiModelProperty("关键词")
    private String keyword = "";
}
